from rest_framework import serializers
from myapp.models import  *

class User_ser(serializers.ModelSerializer):
    class Meta:
        model= User
        fields= '__all__'


class Goods_ser(serializers.ModelSerializer):
    class Meta:
        model = Goods
        fields = '__all__'


class Ding_ser(serializers.ModelSerializer):
    class Meta:
        model = Ding
        fields = '__all__'


class Ding_Info_ser(serializers.ModelSerializer):
    class Meta:
        model = Ding_Info
        fields = '__all__'


class Comment_ser(serializers.ModelSerializer):
    class Meta:
        model = Comment
        fields = '__all__'